﻿namespace GoodAdmin.Core;

/// <summary>
/// 系统角色常用常量
/// </summary>
public class RoleConst
{
    /// <summary>
    /// 超级管理员
    /// </summary>
    public const string SUPERADMIN = "SuperAdmin";
    /// <summary>
    /// 公共基础权限
    /// </summary>
    public const string ROLE_COMMON = "SysCommon";


    #region 数据范围
    /// <summary>
    /// 所有组织
    /// </summary>
    public const string DATA_SCOPE_ALL = "DataScopeAll";
    /// <summary>
    /// 本人所属部门
    /// </summary>
    public const string DATA_SCOPE_OWNORG = "DataScopeOwnOrg";
    /// <summary>
    /// 本人所属部门及下属部门
    /// </summary>
    public const string DATA_SCOPE_ORG_CHILD = "DataScopeOrgAndChild";
    /// <summary>
    /// 仅本人
    /// </summary>
    public const string DATA_SCOPE_SELF = "DataScopeSelf";
    /// <summary>
    /// 自定义
    /// </summary>
    public const string DATA_SCOPE_DEFINE = "DataScopeDefine";
    #endregion
}